The code lying over here awaits completion as the way to proceed is still unclear.
The question is posted here,
http://stackoverflow.com/questions/38512097/adding-a-new-native-module-using-cmake-yields-error-exception-during-working-w
Once the doubt is cleared, the final code will reside here.