The functionality for reading and performing commands has been implemented.