added basic api initialization