Implement ContentProvider for database access
Fix layouts
Separate layouts for ExpandableListView items
Add preferences constants
Optimize queries with inner join
Validate training create input