optimize timer manager and add frame manager