Added a bit of resilience to the class that breaks up the version number