using databases to store info instead of csv and txt files