new flow for adding contracts and objects