Ide reborn

* Refactoring javascripts
* Refactored angular app