Minor fixes
Add code templates and formatting rules