Refactor modules and tests for Browser window UI

This PR is part of the issue #18 for using ui modules.

@ahal and @chmanchester can you please have a look at this? Lets me know if something looks strange to you.
This is not overriding setUp, but calling it. using `super()` is not pretty helpful especially when you have multiple base classes. So using the class name instead is the preferred method.