Proxy hierarchy and reference class.

Basic proxy hierarchy to future stuff.
Reference class to not hardcode things.