Split Main.hs into multiple files