Finished Main Class, currently in degbugging