synced config options in demo, added tests to controller for 'days', setup the controller to handle config