move module attributes to module file