Theres a great tutorial in the free tutorial section of this site. It is the railway track SDK example and will really help you out I think.