added grape API (created app_api & config files) and refactored driver code for easier rendering of json objects