Added final functioning game engine for psl