All existing functions are now server based. Remove all codes related to
local database.