Preparation work on priority mode: config file parsing, documentation.