Rewrite commands system
Add config.py for global settings