fixed failing test
added facilites CRUD, plus few other fixes