Move settings-class in seperate file