creating endpoints libraries for mobile apps