Created root and cages table in database.