Custom Codeigniter with HMVC, Restful API and oAuth