Fixed incorrect assertions.
Solution reorganization. Added Shared project.