code style
fixing typos and added documentation
move style and script to templates + documentation added