cleanup psse parse and implement most of memory-based psse db