fix & refactor: validation

- refactor storageblocks into its own module
- validate storageid in storageblock endpoints