Remove application and public dirs