added some static assets serve fixs
refactor static file server
added param for config dir crawler depth
refactor some go code