add database module and add models,controllers