cleaning up an obsolete to_s statement
adding some code documentation
refactoring templare registration