python backend: initial commit