renames several functions in namespace ecs and adds const do some member functions
removes two wrong const from member functions