Added wrapper class for preferences. #53
switched location components to use settings. #37