sets up db migrates and generates missing controllers