merge libary dart code into `bench.dart` and rename snapshot to `bench` to close #3