Minor NetworkMessage and related interface refactoring. Added graph db transaction commits.