Pushing errors int array and log
Adding testing
Adding page support