增加了Program类和Console类.

Signed-off-by: shines77 <gz_shines@msn.com>