Fixed issue with DB module exports