config file and class
js read db