Update Satin.scala

Major refactor