Remove unused views.
Add CORS preflight headers.
Remove traces of non API directories.