Fix mimetype setting and update example app.
Add basic usage example