migrating all app code to new directory