finalized path handling, began implementing path map and path factory