Improved rights, added license and test files