Added test case for StorageTest for determineOutput
Added writeExtMem functionality and test cases.
Fixed bugs in getSnapshot.
Current version ready for demo