Making main function more modular