Working version of scd class and gui?