Added the database functionality / necessary libriaries