Move refinery setting class to app