Moved options and search builder to main mldb.js file