Specifying include headers for library
Changed init api interface to accept pointer.

Added more debug statements