add scala support.
Merge pull request #12 from ujihisa/master

add scala support.