big refactoring (removed angular, updated libs, changed model)