Merge pull request #247 from kanoi/master api.c data structure + updated get_api_stats/driver-icarus.c