[WIP] Refactor backend