Implemented storage lib and adapted default functions
Added setup and teardown scripts
Teardown script now drops collections if configured