model and DAO definitions finished
controller structure