Library project with full functionality required by test script.

Took WAY longer than I would have liked, but I think this is it.