Move default options to initializer
Rename res to options