Contains MDM and MDM-WS Code