Define the base module, remove unnecessary code