Abstract Base class for REST endpoints, modified REST endpoints to extend the abstract base class
Merge pull request #36 from smarthi/suneel

Abstract Base class for REST endpoints, modified REST endpoints
Harmonize fold-in with speed layer and collapse/refactor some usage of fold-in, marginally increasing accuracy/performance in some cases. Remove unused test code.