added lessons json api for phone app building