init headstore example app