Backend completely reorganized to limit cyclic imports

2 jobs for work_on_backend in 2 minutes and 27 seconds (queued for 2 seconds)