set up scala support for apidemo