initial checkin of extracted framework code

This represents a basic implementation of code over spray and eventsourced
examples and samples to come