add "clear" method for string
complete rewrite of filename and filepath classes