Initial commit

Add functions, update README.