Make use of variables everywhere
Replaced ~/.c9 for "$C9_DIR"
Merged with master