adding logging
adding some documentation
adding some documentation