Breaking apart main into multiple files