I have website created in Joomla and Jomsocial.

I am creating web services/API in Joomla for my mobile app to access.

The mobile app will have almost all same functionality as like website.

Can I access functions(tasks) defined inside `controller/model externally` in my web services/API? How?

Note: I am using phonegap to develop mobile apps