Database and admin doc blocks

This is killing my brain
Merge pull request #167 from findsorguk/docBlockPASLibrary

Database and admin doc blocks