updated dependencies
updated license
cleaned up code