Expose main optimize function

So that `var optimize = require("mop"); optimize(location, [config])` works, filling in the defaults as necessary.