Make various small improvements

Including GraphConstants class
Add logger