Revamped backend, matched frontend to take in data according to new database