refactor to gradle
adding LICENSE
building jar