Consolidated all unnecessary objects into one object and added UIBarButtonItem generator.