Fixed bug with missed startup parent call
Extract creating store to the separate file.