basic worker and mongo connection setup