1. -Delete useless texture.
2. -Add CTaskManager and CTaskBase
3. -Remove useless code in sampleapplication.
4. -Make shareptr support  =NULL operation.