add phonebook sample application
use plink instead of permalink
Some Fix in permalink handling