moved template config file to config folder
added design document
fixed missing library