create and initialize bootstrap file with restcontroller