Main file adapted to the LegoCompiler class