Main function is in separate file.