Lib and the Engine Main class