Added preferences module