Added home_model.

Updated DB
Added Error Reporting.