redesigned class MobilityDataPersistor
the write method in class MobilityDataPersistor now  writes the positions to stdout (for demo purposes)