added codeList.php and changed index.php