A simple, yet flexible scala neural networks implementation