Extracted application boostrap into application class