Update and rename quark.c to quark.cpp