Database component of AttwFramework