Silicon based microphotonic: from basics to applications