Cleans up root folder and removes unnecessary files.