extracted the get places async task to a new class