Removed extraneous main method and fitness function