Clean up the file system.

1. `resources` for the data that will be copied
   when the server runs for the first time.
2. `scripts` for scripts.
3. `configs` for configuration files.