simplify backend code a bit more; sort imports