reworked db, models, added views, controllers and logic...