add separate tern-file for client
add Access-Control-Allow-Origin headers to response
test call to server