An Elegant Side of Machine Learning using Scala (as an Activator Template)