Sources separation

Moved libraries sources into separate repositories;