implements decode method
lift up `readline' and `initializekey' to toplevel
splits endec.hs into 2 files, main.hs and wrap.hs

See twitter.com/ankur_dhama/status/388966226568822784
Plus, module name has minute changes