Started implementing a rest API