STABLE: Add client/server functionality on front end, set up routes