add servicelocator and assetmanager