Major change: Now uses GenericServices library with new sql permissions capabaility