demo Home\Factory class