Refactor debug into entity, add vector utility functions and attributes