Split up main function, /path (404 if path missing)