rename Machine.hs to Card.hs and create Type.hs and move Types there