Update neggoDB.py

Added version class and version relations to tables