add Window and Engine class