Added data model
Migrated AppDelegate to swift