added indexing to pulsemanager
changed file to come from command line but with no checking
removed 'main' test from code