updated docs, added initial docs for mime functions