Add utils module to main.
Refactoring.