Initialization of api v2. Created in node js