working with classes and module in separate files