Setup base for adding database functionality