add echo directory with sample code