added parser for legacy config
aggregate parser with support for both config versions
better naming