Delete module in API route and project controller