changed version to v0.2.2
added mode switcher in beta state