Add validator and serializer. And add new and edit action.