added logging, deubggin and fixed some stuff

Signed-off-by: Spyros <morfeas3000@gmail.com>
Merge branch 'master' of github.com:northdpole/sparkTest