moved angular lib files and added some api routing