Working on client side.
Added CORS supports for server and client.