add some comments and rename any members of engine_t class