Added magnet and magnet track class