Adding delete api resource code. Part of #12.