Added initial Database code.