Created a core package and started to implement service locator, command manager, event dispatcher and state machine