Add first draft of python backend