Added seed for randoms. Refactored path structure.