Make hog as a module
Merge branch 'convert_to_module'