moved main method to Compiler class (this is what they told in forum)