add chronicle queue implementation , reorganize code and add performance test