Database add + load at start added

database now functioning and working with interface.