Fix build.sbt by reintroducing Scala Swing library
Add new methods for ALPs graph and new CastVariable API.