Segregated code into different files.