removed entitystate.cpp
fixed CMake build problem