remove uneeded files and packages