Added the license
fleshed out the api functions
updated the readme to reflect changes