Made the point generator more generic by adding a Command class refs #12