Module cleanup & split scripts

- split `./inbox` script to many smaller scripts in `bin` directory
- moved all tools to `bin` folder
- moved module up one level to `inbox` folder (convention)
- created preflight function in module for checking dependencies, database, etc.

Note, the search scripts are still broken, but I moved them anyway