Refactor library to pass options on load