new architecture for the MIME parsing