Started work in smocs-core

Further refinements in smocs-api were performed based on this.