Experimental

Created a seperate main class.
Removed exessive use of accessors for class variables.