Created Database class

For basic preferences