Update and rename quark.cpp to quark.c