Simplified implementation of valid_transition?
Added states_controller and their views