Rethink and reuse Lokad CQRS Sample code