fix the instantiation of Collection and use strict mode
implement basic methods of LocalPollService class