Basic DB interaction and some wrappers for DB methods