modified comments
added framework for further development in cpp