Seperate binding logic into private class