Refactored to use namespaces, integrated OxyCore and OxyEventStore