setup classes for applogic