Created Plans' classes. Added Goal.

Minor changes: names of variables and methods.