Updated ServiceLocator - you can now register interfaces. Added interface to LocalRepository.