partial re-write of core Syntax object and functionality

REAMDE needs updating;
found a bug in Replacer