funciton to retrieve or init new calendar