Simple persistance layer implementation in Dart