Implementing Legal Technology from Scratch