rename main.hs and start implementation