Reworked the database object a little bit. The db-current function is now a separate call as opposed to member.