Added test files for the @Home project.
First set of bug fixes in the code.
Corrected some bugs.