Kohn–Sham density functional inspired approach to nuclear binding