Got the program to store data in postgres instead of fetching it dynamically per request. Of course, it doesn't yet /retrieve/ data from postgres...