added residue type enum to the editor