Refactor API / Time series processing


- break api source into submodules
- create a request handler for API requests that enables throttling and queue management
- passing parameters for time series requests & a listener for time series request jobs