Server uses database

 - also implemented atomic addTransactions