Added makefile and testing for shared object lib