added convenience class for smf creation.