Renamed the core template class to Stencil and began basic code refactoring and improvements.