Moved implementation of DomainVertex class into vertices.py file.