First Cut at Scala implementation.  Does not currently work.
Worked the kinks out of the Scala Implementation.