Start to think on api

converter now return a tuple:
the converted file and potential other resources in a dict