update license
helper functions added, readme updated