Merge pull request #3 from jessedc/master

Reworked fetchItemsInfo to take layoutInfo as an argument
moved a couple of methods that were inside layout into layout info