Implementation of peridynamic beam and plate formulations in finite element framework