added #define for the data dir and the database