adress review comments and clean up tests
update license