Clean up and added new feature

Clean up a little and add the voters log list and is now compatible to
older version of PHP.