added database and socket file