Stable

Got the example running so that it's stable with few bugs