Moved shared data and most read/write operations in separate services.