Client side organized

All client side work is upgraded to use angular and ui-router. test your application just as usual