classes migration fix
set up models
setup routes