Removed spring dependencies and changed to GoF singleton pattern closed
#1