moving rest endpoints over api  subcontext + some project layout for front part (js/css/html)