Update lib template for detecting.
Update readme with template info. Update Makefile.
Update demo with new tool info.
Version 0.5.0