Removing unnecessary files and adding dependencies