Have main class inherit params class