fix relative position problem

introduced relative position in the constraint model.
Merge remote-tracking branch 'song/scala-frontend' into scala-frontend
removed sbt from repo
finished merging songs changes to algo, no cleanup or testing yet
sped up layouttest