Runconfig imporvements

new api + prevent creating duplicated run configurations