create a class dynamically which implements given interfaces using Proxy