Some linting
Fixed new folder view rendering issue.
A lot of refactoring to SFTP.
Fixed bug in menu view that prevented download link from working on SFTP.