Implemented some more backend stuff