Added project-supplied main; layer header