Core implementation of simplesh, version 1.0

Core of simplesh implementation

Core of simplesh implementation (continued)

Core of simplesh implementation (continued)