add file etc.inc

file store genelly function
add file db.inc

file for manage database
update etc for getpath