modify constructor so it parses items array to automagically bind