Implemented New, Open, Save and Close commands.