Extract stats into separate app