added constant buffer support to Example01,
added time related functions to Demo