statemanager

Manages states with optional before and after transitions per state. Always built with JavaScript performance in mind.