Updated readme, added funionality to MediaFile.

Lots of other small changes and fixes.