Added teleport util class, fixed errors.

Added teleport util class, fixed errors.
Merge remote-tracking branch 'upstream/master'
Merge pull request #7 from heorohuy/master

Added teleport util class, fixed errors.