Added BartApplication class for future reference
Converted activities to fragments