Added ORM, models and basic keychain management