refactor includ_blocks and add new Api get_blocks - v0.3.4