Added meaningful comments and added command window echos