separate api view code from api logic
comment up the backend api code