Put settings stuff into a class