Split files to share code