version 0.8

refactor and support substrate