Api for changing template extension, added basic docs