organization / refactor update

implemented angularjs