Initial refactoring to allow configurable replacements
Adding simple syntax and xkcd examples