delete old cpp files
add template