Convert RA/Dec to XYZ, update database structure