improved documentation of the methods
error.php no longer needed