add more learning exaples about inheritance, concurrency, initialization and template