Moved the rest api over to the new admin settings class.