added missing categoryID column in selects, getGroupsList() renamed to getInvGroupsList() to maintain name consistency
Modified to use new separate class files, corrected references to classes