Add adapter and basic view for repositories
Use singleton for database
Save activity state