Adding references

Added class for setting a reference point in an image to use for
calculating locations relative to.