SCp-templates on SCg

Creating of SCp-procedures in the SCg-templates and work with them to delete attributes and move construction.