Revert "Remove linux specific resource under base"

This reverts commit 0a1a1abef655dd8e47179b132a74d09ba8dc1c74.
Fix how to detect command_class is loaded correctly
Fix how to get command_class
Many fixes
Modularize zfs commands