Extracted some classes and introduced some callbacks

* Extracted anonymous inner classes to own package and classes
* Created IUpbWebView to simplify MainActivity
* Introduced some Interfaces as callbacks