db class can now get and create players