🐛 Bug Report
Refactor API layer in such a way that we don't need to figure out the storage in the API layer and then pass it to the function layer. Function layer should determine the storage layer by itself so that it's easy to call them from API layer and reduce mistakes with regards to which storage to use for the required purpose.
Useful informations
(Write what happened. Add screenshots, stacktraces, videos, anything that can help)