Added Spring dependency; Changed the code example