Added a basic implementation of the diary command