Added module file
Refactoring after tests on sgr