Removed few needless files and implemented CSRF protection