Welcome in the forum.
There is a "Component Author Guide" (Start -> Cypress -> PSoC Creator 4.0 -> Component Development Kit) which will show you ways to create own components. To set up a general template that contains a common structure for code and the basic components you may use the "Copy to MyTemplates" feature.
Last alternative is to create a workspace bundle of your project which is a -zip file. This can be expanded into a different folder.