Implemented basic commands: next, reload, and quit