Move all templates to project root
Clean up test code