Restructure helpers into Server as class method