added support of handling stdout and stderr

added support of handling stdout and stderr
updated libccv
cleaned libccv makefile