Backend for NWEN 304 project