Implement Entity.h and EntityPool.h