Basic Library Header v2

supercedes #114 (original pull request was missing branch name)