improved embedded support and bump version to 0.8