refactored
working on options
config done