template functions, aliases and basic .cc template and makefile.