Seperate settings functions to seperate class