Refactored client. Added single file web view.