added generate-autoloads, extended the build task to migrations