Set up functionality for compiling program.