This marks the beginning of task 6(ie. introducing a REST interface)