enum for type of settings and a servlet to get the possible types