added new functionality for demos including the addition of a strategy pattern