reorg client files and code
switch angular to a single global module
+