added database
Models and Controllers