Changed 'lib' package to be called 'reference', as this more accurately describes its use