add support for bundler

This allows dependencies to be isolated for easy hacking.