Make the initialization with state work. -fixes #3
Release v0.2.0