added libs to vendor; cleaned code
works as wanted
cleaned code