Cleaned up marshalling code
Added MIT license specification
Version bump to 1.0.1