Add support for configuration tab
Refactor some file names
Take into account that main tabs "remember" their sub-tab