My game frame and lib