New release

Reset states at init (so it always knows wich state is currently
activated)
New state 'get' method
Global code cleanup