Class with Main added for test only.