refactor config parser
extract set schema method
update connect method docblock