$http call to database moved into Plays factory, which creates a new Plays class
and initializes it.
working with coordinate array is in progress, but not finished