Added exercise API
Fix api