made tftp more standalone