make the mapping between the component and the template easier by using
component type as the template file name