Simplier code and fix inheritance problem
Reduce proxy logic
Add rails integration