change static methods in ServletManager to non-static

because static methods and fields may cause performance problem.