Backend mostly complete ; Requires MAJOR code cleanup