Close #76 Implement timer api