functional proxies

* Proxies are now properly populated with db data
* Added reference support to lazily load entities