refactoring angular
big refactoring of frontend
got it working