added basic ftpd functionality

close #4