enabled cors for the api
webclient decoupled from webapi
added client side packages, updated layout