Extracted main into its own external, stand-alone class.

Made a constructor for MachineShopSimulator that takes largeTime and
timeNow as inputs.

Had to change test file slightly to run Main.main() instead of
MachineShopSimulator.main