Fix weird Main.hs merge issue, got rid of the main function code