The Hamiltonian and generating functional for a nonrelativistic local current algebra