doc updates, move config parsing to config module