Initial addition of train spawning, and initial code of DB storage.