added new file for SA, and added comments for statistics.fan

removed (most) unnecessary code.