Added time frame property, some tinkering with models)
Refactored models and db to be a lot more robust, and cleaner. Modified App for compatibility.
Removed test models.