created controllers and database apps