Add 'mainfunc' keyword
Use main() as the main function to run