Initial code import of v1 module