Improve readme; write first function and package docs.