Encapsulate CL functionality into main class