Removed hashbangs.
Moved PresetDict into basic.py and fixed cli.py accordingly.
Imports within individual methods.