Added Flush Entity command and Process Base Class