move getting config stricly into the factory, remotestorage used within the factories