first patch of file transfer, ls command, login db, user clear control

started the work on transferring files. not tested yet!
the ls command is ready (?), untested!
login db - improve some little bugs
user clearing control - only the base is built.
updated the protocol file

Signed-off-by: Arthur Zamarin <arthurzam@gmail.com>