headless application first steps