Change dsl
Rename reg/register method to factory
Add DSL#name method to register names without passing the factory class