move supported formats to dedicated class