remove unnecessary files. correct loading of modules