add components to  view controller
add timer function to view controller
Revert "."

This reverts commit ddc61753dd39652448ab82912c0f94cb39956845.
merge conflict