starling initializing in main class