add input.php file
add index.php file
add newline when adding a line to the file
move variables to config file
add message when file is empty or could not be read
use require
add documentation to README