Preliminary libraries

Mock database setup in progress...