Starting new structure
Added general path function