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
Merge pull request #23 from asylumfunk/issue/27

refactor CWD