changed version number
improved exception handling and added deserialise method