Added documentation
Added toString() to ease debugging