Split into sub-projects

This is in preparation for doing some work on an in-memory Redis server
fake.