Added Go_to state function and event
Merged everything baby