Fixed Inserting into and Loading From Database

Fix 1: Insert move and direction into database per data in the csv file.

Fix 2: Changed indices in LoadFromDatabase so the data matches up with
data returned.