added templates doc and improved configuration doc