added several methods for pages
version finding
error handling improved
added error handling class