EventSourcing library with support for applicative projection definitions