adding database structure, pages, models and controllers.