Made references of sets and files global for commands.

Added `--drop` for load:sets command.
Removed the ORM detach call for the entities.