Method layer

Adds method layer functions for folders and some for files and also file uploading for the client.