Version 0.1 done (logic). Lots to be done.