implemented base functionality using CQRS with Axonframework