Implemented FlexController and connected to Flex_View through Main.ts