Added comments to the public classes
Added a template priority to the output