Modularize create function and default options