Add stats view and stats template