Added support for Browserify. Overhauled structure one more time.