re-arranged project to support static/node style