db configured and Foundation Frameword added