adding foreman_api dependency