Added start of actual code for deSNN