Moved commented old main to a new file