Add initial factories and specs for Api V1 and V2.
Passing API specs for V1 and V2, small changes to factories