created classes and linked to view controllers