add; compile_statements & compile_main to class