Fixed errors in templates and setup new paths in views