Refactor codes

Remove unnecessary prefix 'PACKMAN::'.

Wrap subcommand functions into Commands class.
Fix Hdf5 and Parallel_netcdf when Fortran compiler is not available