moved firmext code into the backend dir