Finished up ininital stab at crud api