migrated and created files for controlers