configured RESTful API, added connections model & controller (route), added test for it.