Move all the backend code to a 'backend' directory.