Added Mobile_Detect module, adapted files as needed