added destructors to entitty
added entitty.add/remove/changeComponents functions