Moved Version class to its own module, added fromstring() method
Cleaned up semanticsort due to fromstring() method