updated documentation to reflect API
added how to upload images
added some comments on how to extend the code