update api with codeblocks, add more backbone functionality