Add basic searching

This makes a new entry, sets the name, and returns it. Why not just return the found entry?