Remove unnecessary files and add footer.