update config resolution (not all problems resolved yet);
add mapping func; add getPrefix func; update inline documentation;