fix minor uninitialized values etc.
coding style
add toolbox class to core/
make chseqids tool a Tool object