Adds a main class for compiling files.