refactor CWD

check for strict equality
declare variables in a single statement
call them "directories" not "folders"
return this for chaining
use single quotes

fix asylumfunk#27