Refactored Compiler class to Compiler.cs