added searchPackage method
added checkWebserver method