Moved async SearchTask to external class file