added profile_id to owner in scrooge api

added ci id to scrooge api

moved scrooge api to separate file