Adapted code for new site schema.

Changed table and column names for position, track, and
track_pos in code.