add unit testing stuff
fix traits namespace
new method on deletable traits (delete, restore) + improve isDeleted