huge refactoring of dbactors and controllers, warning: there is some weird bug with reader