delete unused config file
start work on the api
json error response
convert event data to json