Implemented State logic

Implementation of Animation and User Interaction still missing