Added mobile detect module and some other fixes.