Moved JSX code into separate files