minor refactoring
Compile module for better loading.