init core dir walking and doc