Added Main class for easier external location.