lib/Shell: implemented functions to read the shell
lib/Shell: clearing unread lines now when new command is issued