Create Entity.cpp - basic entity-shared functions