Change directory

Change directory struct,
test static