Created a database to store formulas

Signed-off-by: Mark Kamsma <mark@markkamsma.nl>