Working in-memory recognizer implementation.
Working piecewise implementation.
Minor changes for initial release.