move type cast functions

move type cast functions to AIAdapter class, and hide member
visibility of classes in scene.

Signed-off-by: Wayne Wolf <wayne.ron.wu at gmail>
recursively build Node tree implemented

Signed-off-by: Wayne Wolf <wayne.ron.wu at gmail>
add time measurement utility class

Signed-off-by: Wayne Wolf <wayne.ron.wu at gmail>