store data in postgres instead of flat file
rename logger
render data from postgres