a small library to allow features to be turned on and off