add state and global config & database
add tiered output to dependency resolver