secs base class and ecs main class