Adding an util class to setup standard activity things
Removing more unnecessary code