Provide implementation of introspection and refactor codes before rest
level implementation.

Signed-off-by: free-walker <wally.1981@yahoo.com>