New version v0.8. Major code improvements