Modularization of the algorithm and implementing inner and outer estimators
Started working on simsem and unit tests