Started unit tests for extension, added comments and updated to MIT license