title: Mobile and desktop web app with codeigniter
body: <p>I want to build two versions of my project for mobile and desktop.
  Am working codeigniter 2.0.2, am looking for a way for the mobile and desktop versions of the project to share the same model, controllers, libraries, and helpers.
  Also i have set up a sub-domain,m.xyz.com to point to folder called "m" on public_html folder,
  i want the the mobile to be in the "m" folder and share resources with the desktop app residing in root so i dont create duplicate models, controllers etc.</p>