Added code to build path objects dynamically
Removed legacy data migration code