Database changes

New db stuff