changing from a txt file to database

Did a small amount to make the game run again and started to put a
database in.