Web API finished, needs testing.