added scala and sample template