NHQM-foundations and applications to atomic, molecular, mesoscopic, and surface physics