added dirs table to database