[WIP] First functional back-end (with ugly UI)