upgraded restclient
initialize and create db