updating libs to work as separare modules
minified version