Put handler functions on Main.hs.