Added value to entities
Correctly handle agent depth
Fix accidently ommit file
Moved to XML based entities.