Modularize the code, solidify the importer, and make init.py slim