working prototype, a few mediatypes are still missing