Added a progress bar for longer searches. Main functionality can now be transferred over to other packages.