comments added to loadData.php
more comments and format