codenotes models