rework inference events and handling todo: add Medias table and reflect recognition status there
fix same files problem in python different libs correct command logging in command handler