Added basic input output operation based functions and introduction to class