use module pattern for keyword parser

fix a scenario definition. changed the keyword parser to use the module pattern