Support for non-strict position of option flags

- option flag should be on same level as defined or deeper (not higher)
- removed global options as all options are on same level right now