Fixed some minor style problems

Also added a template for search