Functions Add  + New DB Connect

New Functions + Class DB connect structure