Implemented basics of ES system (Entity part)