Quick & dirty rewrite to ruby
Added DSL for specifying window layout
Removed 'project' option
Added configuration