Backend

Backend updated with frontend and a local-only mode switch to follow