directory private was added
database file questions was added
functions for database was added