added documention
Added synopsis example to docs