Add edit and update actions.
Add list action.
Clean up source code.