How to Build Scalable APIs for Mobile Applications