move class into module