move code into cpp files; build all cpp files; ignore vim swap files;