Merge pull request #15 from corpaul/useConfFile

updated spectraperf and scripts to use conf file for database, refactore...