added models , and tests for home controller