made server more modular, for inclusion into npm
added _all reference (mainly for raw file access)