Setup start of api