fully refactored storage API client works and builds some threads

still only in memory though