Spiking neural network library and tools