Updated server code with all aspects for functional prototype defined. Will need to test with client-side.