implement MimeType and CommManager
Merge pull request #12 from DIdiHL/chenxi

implement MimeType and CommManager