Create commands.h/c. cd now works better