moved earthquake setup to ui class