mainframe class

Created main class for program.