Added ServiceLocator. Added primitive note persistence.