added support for scala sources and scala tests and an example