Added basic support for FSWire Rest Api for getting stream history, also refactored namespaces and how the API is called including data transformations from json to objects