Fixed a lot path issues and added a few templates