:sunrise: cleaning up main module.