Fixes #1

Licensing file added
Miscellaneous code tidy up
Moved todo list into seperate document