Added mime parser

Need to create unit tests