Update Templates.cpp

Updated with more comments and fleshed out methods.