changed to typical flight defineComponent file structure
flight dependencies are loaded async too