Add data base (input,output)
add insert and select in DB