Add dependency handling.

- Make some commands internal
- Add _validate command
- Disable packages without a package.sh