wrapped settings into class and moved them into settings area