basic database structure done

testing needs to be done and add other needed methods