Small refactoring.
Added New Library template.