ignore python bytecode files
added debug logging
implemented a full plugin architecture