Began refactoring for server-agnostic design; added commands, set up dreams as list objects, prototyped for nightmares.