added first version of configuraiton api and simple function test.