changed ports; changed handling of db file