Updated documentation

Update read me and add a documentation file. Add a rake task to
generate documentation.