Added untility module. Close #41
using the utils module to emit error message!
removed unncessary/debugging code