adding new directories and database