Fixed issue with Esprima request URI being wrong when pulled in as a dependency

- Added 'bmd' singleton instance as a named module