Add base class instance to avoid passing main class thru whole project