Removing unnecessary files and moving required to root