Lib for database interaction