Routing: switch back to ptr for VJ

There is too much pointer on the vjs, so we cannot handled them as
Value, we store a vector of unique_ptr in the journey_pattern
Ed: add is_frequency to vj in db