Added functions to change directory

Now the service took the folder "files" and can navigate through it.
Added securty if anyone try to exit that path.