fix typo
Reorganized projects.
Improved error reporting.