Used rst format for documentation
Added doc