Implemented index handler.
Implemented edit handler.