added basic viewer and fixed login and registration
added saving and loading of files
enabled uploading
removed some image folders
fixed uploading