Upgraded to brooklyn 0.5.0-rc2 and made the code compiling from intellij