bundling partially implemented

mostly working on the webpage magic now.
major code changes by brendan. currently things are broken like crazy