Added support for non full path 'real folder' in the -F

So now if you would like to mount tmp in your home directory you won't
have to give the full path to it.
Reimplemented a couple of functions