getting cwd
getcwd working without warning
fixed up main a bit
starting to open dirs
directory checking working
directory listing working nicely