Create a proxy based on interface