Adding View and Thread