Split Panoply class into new module