Updated Db Defintion.
Implemented Server Logic.