better code organization, handling base URL setting, Browser class