making RDB available to plugins without require