add first version of api for mobile