implementation of all commands with sychronization implemented, TO-DO: test binary file transfers & sychronization