Moved text handling to library
Link pam module against library
Changed text function names
Fixed typo in makefile
Added guard in headerfile
Added compiling static library
Link against static library