Delete model from db

Fixes #18

For the investment model.