cleanup directories; make module