rework makefile to compile files individually and use browserify to combine them all up
restructure app and get it working with browserify