extracting flags to be variable
fixing a spell error in test
options feature for session and windows
renaming the setup method
fix: options should always be setup first
providing option for base-index
moving setup to a controller