Add table manager to db