moved config types and config parsers from federation to config