fixed backend compile errors fromr efactoring
finished methods in new controlelrs
some fixes in the tests
compilatione errors fixed for the non test files
major refactoring of everything, seems to work well though, still need to fix the tests again
merged in kims changes