move global stats view to submodule