Added basic item selector utility. Needs filling in with actual data
Changed function errors into exceptions for better handling