Rewrite cad.c and add VS project files