split up backend generator and made a migrations generator