added widget loading, fixed base_uri's in constructor