reverted some of mimetypemap
deleted unused method