first commit !
Added database functions !