Implemented local simulator support for Linux and Windows.

This commit marks the start of black-box testing.