more refactoring and new Remote-Chrome-Api class