cleaned unused code and files