added endpoints libs
added endpoint libs
further merg diffs