delete unnecessary files and modifying for haml