Separated classes in main activity