Deletes unnecessary view files. Re-implements ajax view calls