formalized set up for using require, created single config for all demos