fixed some reloading stuff and properly made a module