fixed entity and component ToString(). modifying and organizing headers in all files.