A little refactoring, scripts for cloud9.
Initial support towards cloud9.