completes auto-connect by email, adds peerFactory, animationService, streamService, refactors and removes duplicate code