Cpp templates: Move Factory template to cpp_server directory

Change-Id: I9c335091da090a386774d97ac117797b991fcb6a