precompile middleware
first stab at attachments.
persisting test data