more clever loader, exports a factory to every node-like environment
added css loader