improved documentation in control classes; test for engine; test stubs for grammar