Initial commit
Added support for scala for hooks