#51 refactor: added v2 acceptance tests, minimal v2 impl and switched to pkg restore